#ifndef _DEFS_H
#define _DEFS_H

#define RED 0
#define GREEN 1
#define BLUE 2

#define WHITE 255

#define X 0
#define Y 1
#define Z 2

#define PI 3.14159265358979323846

#define STEP 10

#define MAXSTRING 256
#define MAX_ROW 4
#define MAX_PLATES 15
#define ROOT 0				// root node is in slot 0

#define MAX_POINTS 9
#define SEGMENTS MAX_POINTS - 1
#define WIDTH 600
#define HEIGHT 600
#define PVIEWH 100			// poly line view window height

#define lens_distance -1000
#define CAM_X (WIDTH/2) 
#define CAM_Y (HEIGHT-PVIEWH)/2 
#define CAM_Z -lens_distance
#define FRONT_CLIP 100
#define BACK_CLIP 10000

#define MAXIMAGE 2
#define FILE1 "pics/davinci.jpg"
#define FILE2 "pics/scream.jpg"

#define PLATE_SEP 1			// How much space separates plates

#define UNDEFINED -1

#endif
